package com.zz.dto;

import com.zz.entity.Box;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 注意该类继承了Box
 */
@Data
@Valid
public class BoxDto extends Box {

    //社团名称
    @NotNull(message = "社团名称不能为空")
    private String clubName;

}
